<?php

namespace app\common\validate\product\comment;

use think\Validate;

class Comment extends Validate
{
    protected $rule = [
        'busid'   => 'require',
        'proid'   => 'require',
        'orderid'   => 'require',
        'content' => 'require'
    ];

    protected $message = [
        'busid.require'     => '用户未知',
        'proid.require'     => '商品未知',
        'orderid.require'    =>'订单未知',
        'content.require'   =>'评论内容不存在'
    ];

    protected $scene = [];
}
